export interface PersonInterface {
  name : string;
  age ?: number;
}


export function getImageUrl(person: PersonInterface) :string {
  return 'https://www.example.com/img/' + person.name + '.jpg';
}